include "../model/TVod.thrift"
include "../model/TQuery.thrift"
namespace java com.iqiyi.pps.epg.api.server.web.vod

 service VodWebService {
     i64 saveLog(1:TVod.TVodLog entity);
     TVod.TVodLogPage searchLog(1:TQuery.TPage page, 2:TQuery.TFilter filter);
     i64 saveEpisodeLog(1:TVod.TVodEpisodeLog entity);
     TVod.TVodEpisodeLogPage searchEpisodeLog(1:TQuery.TPage page, 2:TQuery.TFilter filter);
     TVod.TVodRecordPage searchRecord(1:TQuery.TPage page, 2:TQuery.TFilter filter);
     TQuery.TResponse addRecord(1:TVod.TVodRecord entity );
     TQuery.TResponse editRecord(1:TVod.TVodRecord entity );
     TQuery.TResponse delRecord(1:TQuery.TFilter filter);

     TQuery.TResponse saveAd(1:TVod.TVodad entity);
     TVod.TVodadPage searchAd(1:TQuery.TPage page, 2:TQuery.TFilter filter);
     TQuery.TResponse delAd(1:i64 id);
 }
